<?php echo View::make('admin.common.header'); ?>

<div id="header">
        <?php echo View::make('admin.common.left')->with('is_dashboard', true);?>
        <div class="fr1">
            <div style=" margin:10px; border:solid 1px #ccc;">
                <?php $dashboard = Admin_Menu::get_dashboard(); $index = 1; ?>
            	<h5>
                    <div class="in_t">&nbsp;</div><?php echo $dashboard['desc'] ?>
                </h5>
                
                <?php if(isset($dashboard['nodes'])) : foreach ($dashboard['nodes'] as $module=>$node) : ?>
		<div class="dashboard">
                    <div class="index_<?php echo $index; ?> num">&nbsp;</div>
                    <div class="info">
                        <a href="/admin/<?php echo $module;?>/index"><?php echo $node['name']; ?></a>
                    </div>
                    <div class="desc">
                        <?php echo $node['desc']; ?>
                    </div>
                </div>
                <?php $index++; endforeach; endif; ?>
                
                <?php if(isset($dashboard['more'])) : foreach ($dashboard['more'] as $href=>$item) : ?>
		<div class="dashboard">
                    <div class="index_<?php echo $index; ?> num">&nbsp;</div>
                    <div class="info">
                        <a href="<?php echo $href;?>"><?php echo $item['name']; ?></a>
                    </div>
                    <div class="desc">
                        <?php echo $item['desc']; ?>
                    </div>
                </div>
                <?php $index++; endforeach; endif; ?>
		<br />
            </div>
        </div>    
</div>

<?php echo View::make('admin.common.footer'); ?>